home *** CD-ROM | disk | FTP | other *** search
- Path: news.th-darmstadt.de!news
- From: enno@inferenzsysteme.informatik.th-darmstadt.de (Enno Sandner)
- Newsgroups: comp.lang.c++
- Subject: Re: Assignment op. for an object with reference member
- Date: 05 Apr 1996 10:04:49 +0200
- Organization: Fachbereich Informatik, TH Darmstadt
- Sender: enno@kitz.inferenzsysteme.informatik.th-darmstadt.de
- Message-ID: <ltag0rxfj2.fsf@kitz.inferenzsysteme.informatik.th-darmstadt.de>
- References: <3163FE18.28D@dbsoftware.com>
- NNTP-Posting-Host: kitz.intellektik.informatik.th-darmstadt.de
- In-reply-to: Guru Chandar's message of Thu, 04 Apr 1996 11:51:36 -0500
- X-Newsreader: Gnus v5.1
-
- In article <3163FE18.28D@dbsoftware.com> Guru Chandar <GCHAN@dbsoftware.com> writes:
-
- [ ... ]
-
- 1. Is it legel to even attempt to change a reference after it is initialized?
- ARM & other books say that the only way to assign a value to a reference
- is when you initialize it.
-
- You cannot change the referred object of an already initialized
- reference in a portable way -- Use pointers instead.
-
- Enno
-